Skip to main content

point

Type

keyword

Summary

Used with the is a and is not a operators to specify whether a value is a point.

Syntax

point

Description

Use the point keyword to find out whether a value can be used in expressions that require a point on the screen.

If the value consists of two numbers separated by a comma or by whitespace, it is a point. The numbers may be non-integers.

If the value is an expression, it is evaluated and LiveCode checks whether the final value is a point. For example, the value of the expression "22 + 3,23" is 25,23 (which is a point), so the following expression evaluates to true:

    22 + 3,23 is a point

However, the expression

    \"22 + 3,23\" is a point

evaluates to false, because the double quotes making it a string prevent the expression "22 + 3,23" from being evaluated.

Examples

if it is not a point then exit mouseUp

function: value

glossary: operator, keyword, expression

operator: is a, is not a

property: points

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?